<?php

use console\db\channels\TransferTableMigration;
use yii\db\Query;

/**
 * 球迷学院勋章迁移
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class m300060_000003_t_college_medal extends TransferTableMigration {

    /**
     * @inheritdoc
     */
    public $sourceDb = 'olddb';

    /**
     * @inheritdoc
     */
    public function getTransferOptions() {
        return [
            'table' => [
                'college_medal' => 'a_medal',
            ],
            'columns' => [
                'id',
                'name',
                'right_num',
                'unfinished_img',
                'finished_img',
                'prop_id',
                'prop_num',
                'user_count',
                'status',
                'created_at',
                'updated_at',
                'deleted_at',
            ],
        ];
    }

}
